package com.zzyl.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "NursingProject", description = "护理项目表")
@Builder
public class NursingProject implements Serializable {


    @ApiModelProperty(value = "编号", example = "1")
    private Long id;

    @ApiModelProperty(value = "名称", example = "基础护理")
    private String name;

    @ApiModelProperty(value = "排序号", example = "1")
    private Integer orderNo;

    @ApiModelProperty(value = "单位", example = "次")
    private String unit;

    @ApiModelProperty(value = "价格", example = "100.00")
    private BigDecimal price;

    @ApiModelProperty(value = "图片", example = "http://example.com/image.jpg")
    private String image;

    @ApiModelProperty(value = "护理要求", example = "每日一次")
    private String nursingRequirement;

    @ApiModelProperty(value = "状态（0：禁用，1：启用）", example = "1")
    private Integer status;

    @ApiModelProperty(value = "创建人", example = "admin")
    private String createBy;

    @ApiModelProperty(value = "更新人", example = "admin")
    private String updateBy;

    @ApiModelProperty(value = "备注")
    private String remark;

    @Column(nullable = false, updatable = false)
    @ApiModelProperty(value = "创建时间", example = "2023-04-01T12:00:00Z")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", example = "2023-04-01T12:00:00Z")
    private Date updateTime;



    // Getters and Setters
    // ...
}